﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PuzzleMaker
{
    public class Tileset
    {
        private int imageID;
        private int imgWidth;
        private int imgHeight;
        private int tileWidth;
        private int tileHeight;
        private int columns;
        private int rows;

        private string name;
        private string filename;

        private Image image;

        public override string ToString()
        {
            return name;
        }

        public int ImageID
        {
            get { return imageID; }
            set { imageID = value; }
        }
        public int ImageWidth
        {
            get { return imgWidth; }
            set { imgWidth = value; }
        }
        public int ImageHeight
        {
            get { return imgHeight; }
            set { imgHeight = value; }
        }
        public int TileWidth
        {
            get { return tileWidth; }
            set { tileWidth = value; }
        }
        public int TileHeight
        {
            get { return tileHeight; }
            set { tileHeight = value; }
        }
        public int Columns
        {
            get { return columns; }
            set { columns = value; }
        }
        public int Rows
        {
            get { return rows; }
            set { rows = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string FileName
        {
            get { return filename; }
            set { filename = value; }
        }
        public Image Image
        {
            get { return image; }
            set { image = value; }
        }
    }
}
